package com.totowoo.shirodemo.dao;

import java.util.Set;

import org.apache.ibatis.annotations.Param;

import com.totowoo.shirodemo.model.User;

public interface UserDao {
	public User getUserByUsername(@Param("username") String username);
	
	public Set<String> getRoleCodesByUid(@Param("uid") int uid);
	
	public Set<String> getPermissionCodesByUid(@Param("uid") int uid);

	public void addUser(User user);
	
}
